// IFManager.h: interface for the CIFManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_IFMANAGER_H__C1A2EB3C_8AAC_4601_9EA3_ACD5A7432D3A__INCLUDED_)
#define AFX_IFMANAGER_H__C1A2EB3C_8AAC_4601_9EA3_ACD5A7432D3A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CIF;
class CAccount;
class CSMSItem;
class CIFManager  
{
public:
	CIFManager();
	virtual ~CIFManager();
public:
	BOOL SendOut(CAccount* pAccount, CSMSItem* pSMS);
protected:
	std::list<CIF*> m_IFList;
public:
	void PeriodDispatch();
	BOOL AddInterface(CAccount* pAccount, int protocol, const char* destIP, unsigned short port);
    LOG4CPLUS_CLASS_DECLARE( _s_logger );

};

#endif // !defined(AFX_IFMANAGER_H__C1A2EB3C_8AAC_4601_9EA3_ACD5A7432D3A__INCLUDED_)
